package com.maimao.model.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 足迹 使用Redis 有序集合存储 30
 *
 * @author MaoLin Wang
 * @date 2020/11/28 11:01 上午
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Foot implements Serializable {
//    private Long id;

//    private Long userId;

    private String title;

    private String picture;

    private BigDecimal price;
    private Boolean valid;

    private String goodsId;

    private LocalDateTime accessTime;

    @Override
    public String toString() {
        return "Foot{" +
                ", goodsId=" + goodsId +
                ", picture=" + picture +
                ", valid=" + valid +
                ", accessTime=" + accessTime +
                '}';
    }
}
